﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RTW.OA.Areas.Personal.Models
{
    public partial class EmailForBox
    {
        /// <summary>
        /// body_id
        /// </summary>
        public string BODY_ID { get; set; }
        /// <summary>
        /// 发件人USER_ID
        /// </summary>
        public string FROM_ID { get; set; }
        /// <summary>
        /// 收件人USER_ID串
        /// </summary>
        public string TO_ID2 { get; set; }
        /// <summary>
        /// 抄送人USER_ID串
        /// </summary>
        public string COPY_TO_ID { get; set; }
        /// <summary>
        /// 密送人USER_ID串
        /// </summary>
        public string SECRET_TO_ID { get; set; }
        /// <summary>
        /// 邮件主题
        /// </summary>
        public string SUBJECT { get; set; }
        /// <summary>
        /// 邮件内容
        /// </summary>
        public string CONTENT { get; set; }
        /// <summary>
        /// 发送时间
        /// </summary>
        public Nullable<DateTime> SEND_TIME { get; set; }
        /// <summary>
        /// 附件ID串
        /// </summary>
        public string ATTACHMENT_ID { get; set; }
        /// <summary>
        /// 附件文件名串
        /// </summary>
        public string ATTACHMENT_NAME { get; set; }
        /// <summary>
        /// 是否已发送(0-未发送,1-已发送)
        /// </summary>
        public string SEND_FLAG { get; set; }
        /// <summary>
        /// 重要程度(空-一般邮件,1-重要,2-非常重要)
        /// </summary>
        public string IMPORTANT { get; set; }
        /// <summary>
        /// 邮件大小
        /// </summary>
        public Nullable<long> SIZE { get; set; }
        /// <summary>
        /// 压缩后的邮件内容
        /// </summary>
        public byte[] COMPRESS_CONTENT { get; set; }
        /// <summary>
        /// 内容关键词
        /// </summary>
        public string KEYWORD { get; set; }
        /// <summary>
        /// 邮件密级等级
        /// </summary>
        public Nullable<byte> SECRET_LEVEL { get; set; }
        /// <summary>
        /// 审核人USER_ID
        /// </summary>
        public string AUDIT_MAN { get; set; }
        /// <summary>
        /// 审核不通过备注
        /// </summary>
        public string AUDIT_REMARK { get; set; }
        /// <summary>
        /// 点赞人user_id串
        /// </summary>
        public string PRAISE { get; set; }
        /// <summary>
        /// 邮件回复ID
        /// </summary>
        public Nullable<int> REPLY_ID { get; set; }

        public int EMAIL_ID { get; set; }

        /// <summary>
        /// 邮件读取状态(0-未读,1-已读)
        /// </summary>
        public Nullable<byte> READ_FLAG { get; set; }
        /// <summary>
        /// 邮件删除状态(0-未删除;1-收件人永久删除;2-发件人删除;3-收件人删除;4-二次删除)
        /// </summary>
        public Nullable<byte> DELETE_FLAG { get; set; }
        /// <summary>
        /// 邮件箱分类ID
        /// </summary>
        public Nullable<int> BOX_ID { get; set; }

        /// <summary>
        /// 是否请求阅读收条(0-不请求,1-请求)
        /// </summary>
        public Nullable<byte> RECEIPT { get; set; }
        /// <summary>
        /// 是否转发(0-未转发,1-已转发)
        /// </summary>
        public Nullable<byte> IS_F { get; set; }
        /// <summary>
        /// 是否回复(0-未回复,1-已回复)
        /// </summary>
        public Nullable<byte> IS_R { get; set; }
        /// <summary>
        /// 星标标记(0-无,1-灰,2-绿,3-黄,4-红)
        /// </summary>
        public Nullable<byte> SIGN { get; set; }
    }
}